<pre>
<?php
$config = 'config.php';
include_once('core.php');
$url = 'http://www.dadipedia.com';
SC::createApplication($config);
try {
	$webthumb = new Thumb();
	$webthumb->addUrl($url,'medium','140','100');
	$webthumb->submitRequests();
} catch (Exception $e) {
	//dbg($e->getMessage());
}
?>
</pre>